{% load i18n %}

<script type="text/javascript" language="JavaScript">
  function changeLocation(location){
  document.location.href = location.value;
  }
</script>

<h3>{% blocktrans with title|escape as filter_title %} {{ filter_title }}: {% endblocktrans %}</h3>
<ul>
<select name="{{ title }}" id="id_{{ title }}" onchange="javascript:changeLocation(this)">
{% for choice in choices %}
<option {% if choice.selected %} selected {% endif %} value="{{ choice.query_string|iriencode }}">{{ choice.display }}</option>
{% endfor %}
</select>
</ul>
